export default [
  {
    path: '/user',
    layout: false,
    routes: [
      { name: '登录', path: '/user/login', component: './user/Login' },
      { name: '注册', path: '/user/register', component: './user/Register', access: 'public' },
      { component: './404' },
    ],
  },
  {
    path: '/Model',
    name: "模型管理",
    icon: 'crown',
    routes: [
      { path: '/model/train', name: "训练模型",icon: 'table', component: './Model/train' },
      { path: '/model/list', name: "模型列表",icon: 'table', component: './Model/ModelList' },

    ],
  },
  {path: "/Predicted",name: "数据预测",icon: 'smile',
    routes: [
      { path: "/Predicted/modelist",name: "预测数据",component: './Model/Predicted'},
      { path: '/Predicted/result', name: "结果列表",icon: 'table', component: './Model/result' },
      { path: '/Predicted/index', name: '结果页面', icon: 'smile', component: './forecastResultPage/index' }
    ]},
  { path: '/', redirect: '/model/train' },
  { component: './404' },
];

